package com.example.medicalzb.mapper;

import com.example.medicalzb.entity.DoctorEntity;
import com.example.medicalzb.model.DoctorLevelModel;
import com.example.medicalzb.model.DoctorModel;
import com.example.medicalzb.model.TreatTypeModel;
import com.example.medicalzb.param.DoctorParam;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface DoctorMapper {


    List<DoctorModel> getAllDoctor(DoctorParam doctorParam);

    List<TreatTypeModel> getAllTreatType();

    List<DoctorLevelModel> getAllLevel();

    int saveDoctor(DoctorEntity doctorEntity);

    int updateDoctor(DoctorEntity doctorEntity);

    int deleteDoctor(Long id);

    DoctorModel getDoctorById(Long id);
}
